package com.java1412.controller;

import com.java1412.service.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author java1412
 * @create 2021-07-20 16:21
 */
@RestController
public class HelloController {
    @Autowired
    private ConfigService configService;

    @GetMapping("/getConfig")
    private String getConfigInfo() {
        return configService.showConfig();
    }
}